                <h2>Верхняя одежда</h2>
                <ul class="tovar">
                    <?php foreach($this->products as $product):?>
                    <li>
                            <h3><a href="/product/view/id/<?=$product->id?>"><?=$product->brand?>, размер <?=$product->size?>  </a></h3>
                            <div class="box">
                                <div class="image-box">
                                    <div class="image"><img src="/images/img01.jpg" alt="" /></div>
                                    <strong class="size"><?=$product->size?></strong>
                                </div>
                                <div class="text">
                                 
                                        <div class="top">
                                            <?php 
                                                switch($product->category){
                                                    case 'LUX' :
                                                        ?>
                                                         <strong class='new'>новинка</strong>
                                                        <?php 
                                                    break;
                                                    case '1':?>
                                                        <span class="sk25">скидка от <strong>25%</strong></span>
                                                        <?php 
                                                        break; 
                                                    case '2':?>
                                                        <span class="sk75">скидка от <strong>75%</strong></span>
                                                        <?php 
                                                        break; 
                                                    case '3':?>
                                                         <strong class="ras">РАСПРОДАЖА</strong>
                                                        <?php 
                                                        break; 
                                                }
                                            ?>
                                         
                                        </div>
                                    <div class="box">
                                        <span class="price"><?=$product->price?><em>руб.</em></span>
                                    </div>
                                    <div class="box">
                                        <a href="/cart/add/id/<?=$product->id?>/"><span>Положить в корзину</span></a>
                                    </div>
                                </div>
                            </div>
                        </li>
                <?php endforeach;?>

</ul>
<?= $this->paginationControl($this->products, 'Sliding', 'paginator.phtml'); ?>
<script>
            $(document).ready(function(){
                $('.sel').change(function(){
                    value = $(this).val();
                    if(value){
                    window.location.href = '<?= $this->url(array('brand'=>null));?>'+'/brand/'+value;
                    } else {
                        window.location.href = '<?= $this->url(array('brand'=>null));?>';
                    }
                });
            });
 </script>